//
//  ByRegisterModelUser.m
//  oc_knowledge
//
//  Created by justiOS on 17/1/11.
//  Copyright © 2017年 com.itboye. All rights reserved.
//

#import "ByModelUser.h"

@implementation ByModelUser
- (void)setAttributes:(NSDictionary *)jsonDic {
    
    [super setAttributes:jsonDic];
    
    if (!jsonDic[@"uid"]) {
        self.uid = jsonDic[@"id"];
    }
    self.head = BOYE_IMAGE_URL_ORIGINAL(jsonDic[@"head"]);
    self.s_id = jsonDic[@"auto_login_code"];
}

@end
